package com.dragon.modules.yuegou.mapper.wallet;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.wallet.MemberCardRefundEntity;
import com.dragon.modules.yuegou.model.wallet.MemberCardRefund;
import com.dragon.modules.yuegou.query.wallet.CardRefundQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 会员退卡 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-03-05 11:27:23
 * @version 2.0
 */
@Component("waltMemberCardRefundMapper")
public interface MemberCardRefundMapper extends BaseMapper<MemberCardRefundEntity> {

    /**
     * 查询企业员工退悦卡记录分页列表
     */
    IPage<MemberCardRefund> searchRefundRecord(IPage page,@Param("query") CardRefundQuery query);

    /**
     * 导出企业员工退悦卡记录列表
     */
    List<MemberCardRefund> searchRefundRecord(@Param("query") CardRefundQuery query);
}
